package com.itheima.service;

import com.itheima.pojo.BusinessReportVO;
import com.itheima.pojo.MemberReportVO;
import com.itheima.pojo.SetmealReportVO;

import javax.servlet.http.HttpServletResponse;
import java.text.ParseException;

/**
 * @author Encounter
 * @date 2024/10/16 17:22<br/>
 */
public interface ReportService
    {
        /**
         * 获取成员报告
         *
         * @return {@link MemberReportVO }
         */
        MemberReportVO getMemberReport() throws ParseException;
        
        /**
         * 获取 SetMeal 报告
         *
         * @return {@link SetmealReportVO }
         */
        SetmealReportVO getSetmealReport();
        
        /**
         * 获取业务报告数据
         *
         * @return {@link BusinessReportVO }
         */
        BusinessReportVO getBusinessReportData();
        
        /**
         * 导出报告
         *
         * @param response 响应
         */
        void exportReport(HttpServletResponse response);
    }
